package com.springBoot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

import com.springBoot.config.DBConfig1;
import com.springBoot.config.DBConfig2;
//开启读取配置文件
@EnableConfigurationProperties(value = { DBConfig1.class, DBConfig2.class })
@SpringBootApplication
public class jta_atomikos_demo_Application {

	public static void main(String[] args) {
		SpringApplication.run(jta_atomikos_demo_Application.class, args);
		System.err.println("========启动成功========");

	}

}
